﻿@model string
<script>
    $(document).ready(function () {
        $("#treeSearch").treeview({
            animated: "fast",
            collapsed: true,
        });
        $("#treesearch a").click(function () {
            $("#treeview a").removeClass("tree-selected");
            $(this).addClass("tree-selected");
            $('#hdProductOption').val($(this).attr("val"));
        });
    });

</script>
@Html.Raw(Model)
